package com.manager.system.service;

import com.manager.common.vo.PageVO;
import com.manager.model.System_Organization;
import com.manager.model.System_Permission;
import net.sf.json.JSONArray;

import java.util.List;
import java.util.Map;

public interface OrganizationService {

	public PageVO getOrgMap(System_Organization org);
	
	public void addOrg(System_Organization organization);
	
	public void updateOrg(System_Organization organization);
	
	public void deleteOrg(System_Organization organization);
	
	public JSONArray getOrgList();
	
	public JSONArray getMenuTree(System_Organization model);

	public List<System_Organization> getAllOrg();

	List<System_Permission> getPermissionsByOrgId(String orgId);
}
